package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallCart;
import com.ctsi.ssdc.domain.LitemallCartExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallCartRepository extends BaseRepository<LitemallCart, Integer, LitemallCartExample> {
    @Override
    long countByExample(LitemallCartExample example);

    @Override
    int deleteByExample(LitemallCartExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallCart record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallCart record);

    @Override
    List<LitemallCart> selectByExample(LitemallCartExample example);

    @Override
    LitemallCart selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallCart record, @Param("example") LitemallCartExample example);

    @Override
    int updateByExample(@Param("record") LitemallCart record, @Param("example") LitemallCartExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallCart record);

    @Override
    int updateByPrimaryKey(LitemallCart record);

    void logicalDeleteByPrimaryKey(Integer id);

    LitemallCart selectOneByExample(LitemallCartExample example);

    int logicalDeleteByExample(LitemallCartExample example);
}